for one's pains

In return for the trouble one has taken, as in And all he got for his pains was a failing grade. This expression is nearly always used ironically to indicate that the return was not appropriate to the effort made. [ First half of 1500s ]